package com.guigu.userservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.userservice.entity.Permission;
import com.guigu.userservice.mapper.PermissionMapper;
import com.guigu.userservice.service.PermissionService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {
    @Override
    public List<Permission> selectAllPermission() {
        List<Permission> list = this.list();
        return list;
    }
}
